/**
 * 该文件用于景点的数据模型
 */

//部分景点信息
export interface BriefScenic {
  scenicId: number
  scenicName: string
  city: string
  longitude: number
  latitude: number
  scenicPics: string[]
  rating: number
  popularity: number
  price: number
  tags: string[]
  commentNumbers: number
}

//详细景点信息
export interface ScenicDetail {
  scenicId: number
  scenicName: string
  city: string
  longitude: number
  latitude: number
  scenicPics: string[]
  rating: number
  popularity: number
  price: number
  tags: string[]
  commentNumbers: number
  openTime: string
  introduce: string
  comments: Array<{
    id: number
    userId: number
    userName: string
    avatar: string
    content: string
    commentDate: string
  }>
}

//城市信息分类下的景点展示
export interface CityScenic {
  scenicId: number
  scenicName: string
  address: string
  longitude: number
  latitude: number
  scenicPics: string[]
  rating: number
  level: number
  popularity: number
  tags: string[]
  commentNumbers: number
}
